package com.lottery.ruok.lottrey.retrofitModule.response;

import java.io.Serializable;
import java.util.List;

/**
 * Created by ASUS on 2017/7/26.
 */

public class GetWholeCategoryResponse implements Serializable{


    /**
     * id : 4
     * name : 低频彩
     * logo : http://35.185.183.77/assets/cgi/dpc.png
     * code : dpc
     * is_open : 0
     * items : [{"id":"16","name":"排列三","status":"1","code":"pl3","category_code":"dpc","image_url":"http://35.185.183.77/assets/cgi/pl3.png","is_use_url":"0","url":null,"is_need_login":"0","interval":73800,"timestamp":1501083000,"time":5919},{"id":"17","name":"福彩3D","status":"1","code":"fc3d","category_code":"dpc","image_url":"http://35.185.183.77/assets/cgi/fc3d.png","is_use_url":"0","url":null,"is_need_login":"0","interval":73800,"timestamp":1501083000,"time":5919},{"id":"20","name":"香港六合彩","status":"1","code":"xglhc","category_code":"dpc","image_url":"http://35.185.183.77/assets/cgi/xg6hc.png","is_use_url":"0","url":null,"is_need_login":"0","interval":86400,"timestamp":1501160400,"time":83319}]
     */

    private String id;
    private String name;
    private String logo;
    private String code;
    private String is_open;
    private List<ItemsBean> items;
    /**
     * attached : {"color":["green","red","red","red","blue","red","green"],"sx":["猪","鼠","兔","狗","狗","龙","蛇"]}
     */

    private AttachedBean attached;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getIs_open() {
        return is_open;
    }

    public void setIs_open(String is_open) {
        this.is_open = is_open;
    }

    public List<ItemsBean> getItems() {
        return items;
    }

    public void setItems(List<ItemsBean> items) {
        this.items = items;
    }

    public AttachedBean getAttached() {
        return attached;
    }

    public void setAttached(AttachedBean attached) {
        this.attached = attached;
    }

    public static class ItemsBean implements Serializable{
        /**
         * id : 16
         * name : 排列三
         * status : 1
         * code : pl3
         * category_code : dpc
         * image_url : http://35.185.183.77/assets/cgi/pl3.png
         * is_use_url : 0
         * url : null
         * is_need_login : 0
         * interval : 73800
         * timestamp : 1501083000
         * time : 5919
         * prize_num
         */

        private String prize_num;
        private String date;

        public String getDate() {
            return date;
        }

        public void setDate(String date) {
            this.date = date;
        }

        public String getPrize_num() {
            return prize_num;
        }

        public void setPrize_num(String prize_num) {
            this.prize_num = prize_num;
        }

        private String id;
        private String name;
        private String status;
        private String code;
        private String category_code;
        private String image_url;
        private String is_use_url;
        private String url;
        private String desc;
        private String is_need_login;
        private int interval;
        private int timestamp;
        private int time; // 距离开奖剩余的时间
        private String no;
        private int is_favorite;
        private int item_class;
        public int pasttime = 0;
        private int is_hot;
        private AttachedBean attached;


        public int getItem_class() {
            return item_class;
        }

        public void setItem_class(int item_class) {
            this.item_class = item_class;
        }

        public int getIs_favorite() {
            return is_favorite;
        }

        public void setIs_favorite(int is_favorite) {
            this.is_favorite = is_favorite;
        }

        public String getNo() {
            return no;
        }

        public void setNo(String no) {
            this.no = no;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getCategory_code() {
            return category_code;
        }

        public void setCategory_code(String category_code) {
            this.category_code = category_code;
        }

        public String getImage_url() {
            return image_url;
        }

        public void setImage_url(String image_url) {
            this.image_url = image_url;
        }

        public String getIs_use_url() {
            return is_use_url;
        }

        public void setIs_use_url(String is_use_url) {
            this.is_use_url = is_use_url;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getIs_need_login() {
            return is_need_login;
        }

        public void setIs_need_login(String is_need_login) {
            this.is_need_login = is_need_login;
        }

        public int getInterval() {
            return interval;
        }

        public void setInterval(int interval) {
            this.interval = interval;
        }

        public int getTimestamp() {
            return timestamp;
        }

        public void setTimestamp(int timestamp) {
            this.timestamp = timestamp;
        }

        public int getTime() {
            return time;
        }

        public void setTime(int time) {
            this.time = time;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public int getIs_hot() {
            return is_hot;
        }

        public void setIs_hot(int is_hot) {
            this.is_hot = is_hot;
        }

        public AttachedBean getAttached() {
            return attached;
        }

        public void setAttached(AttachedBean attached) {
            this.attached = attached;
        }
    }

    public static class AttachedBean implements Serializable{
        private List<String> color;
        private List<String> sx;

        public List<String> getColor() {
            return color;
        }

        public void setColor(List<String> color) {
            this.color = color;
        }

        public List<String> getSx() {
            return sx;
        }

        public void setSx(List<String> sx) {
            this.sx = sx;
        }
    }
}
